const system = [
  {
    title: '系统设置',
    module: 'system',
    icon: 'edu-icon-system',
    meta: {
      permission: 'system'
    },
    children: [
      {
        title: '配置中心',
        meta: {
          permission: 'system.config'
        },
        children: [
          {
            title: '登录配置',
            path: '/system/config/login',
            meta: {
              permission: 'system.config.login'
            }
          },
          {
            title: '一键登录配置',
            path: '/system/config/oneclick',
            meta: {
              permission: 'system.config.oneclick'
            }
          },
          {
            title: '微信小程序配置',
            path: '/system/config/miniapp',
            meta: {
              permission: 'system.config.miniapp'
            }
          },
          {
            title: '微信公众号配置',
            path: '/system/config/official',
            meta: {
              permission: 'system.config.official'
            }
          },
          {
            title: '分类配置',
            path: '/system/config/category',
            meta: {
              permission: 'system.config.category'
            }
          },
          {
            title: '防挂机配置',
            path: '/system/config/onhook',
            meta: {
              permission: 'system.config.onhook'
            }
          }
          // {
          //   title: '分享配置',
          //   path: '/system/config/share',
          //   meta: {
          //     permission: 'system.config.share'
          //   }
          // }
        ]
      },
      {
        title: '组件中心',
        meta: {
          permission: 'system.package'
        },
        children: [
          {
            title: '上传',
            path: '/system/package/upload',
            meta: {
              permission: 'system.package.upload'
            }
          },
          {
            title: '短信',
            path: '/system/package/sms',
            meta: {
              permission: 'system.package.sms'
            }
          },
          {
            title: '支付',
            path: '/system/package/payment',
            meta: {
              permission: 'system.package.payment'
            }
          },
          {
            title: '第三方登录',
            path: '/system/package/login',
            meta: {
              permission: 'system.package.login'
            }
          }
          // {
          //   title: '人脸识别',
          //   path: '/system/config/face',
          //   meta: {
          //     permission: 'system.config.face'
          //   }
          // }
        ]
      },
      {
        title: '通知',
        meta: {
          permission: 'system.notify'
        },
        children: [
          {
            title: '通知配置',
            path: '/system/notify/node/list',
            meta: {
              permission: 'system.notify.node'
            }
          }
        ]
      }
    ]
  }
]

export default system
